package com.technodo.ue;

import android.content.Context;
import android.util.AttributeSet;
import android.util.Log;
import android.widget.ImageView;

import com.technodo.utils.StringConstants;

public class CustomImageView  extends ImageView {

	public CustomImageView(Context context) {
		super(context);
	}

	public CustomImageView(Context context, AttributeSet attrs) {
		super(context, attrs);
	}

	public CustomImageView(Context context, AttributeSet attrs, int defStyle) {
		super(context, attrs, defStyle);
	}

	@Override
	public void onMeasure(int widthMeasureSpec, int heightMeasureSpec){
		setMeasuredDimension((int) (StringConstants.LINEAR_LAYOUT_WIDTH/4.3),(int) (StringConstants.LINEAR_LAYOUT_WIDTH/4.3));
//		Log.d("Custom ImageView ","value of width and height for image is :"+(int) (StringConstants.LINEAR_LAYOUT_WIDTH/4.3));
	}
}


